package cn.zero.flowspringbootstater.modular.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 流程业务关联表
 * </p>
 *
 * @author lei
 * @since 2022-06-17
 */
@Data
@Accessors(chain = true)
@TableName("t_flow_business")
public class FlowBusiness   {

    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 流程id
     */
    private Long flowId;

    /**
     * 需要此流程审批的业务id
     */
    private String businessId;

    /**
     * 此流程的当前审批节点id
     */
    private Long currentNodeId;

    /**
     * 审批状态，0：审核中；2：审核不通过；4：审核结束
     */
    private String flowState;

    /**
     * 当前审核事件是否有效 1是  0 否
     */
    private String state;




}
